建立於: 7年前 ( 更新: 7年前 )
強制清空遠端repo所有的資料,產生新的repo,
注意這是危險動作,請了解您知道您要做什麼。
git init
git add .
git commit -m 'Initial commit'
git remote add origin [repo_address]
git push --mirror --force
強制清空遠端repo所有的資料,產生新的repo,
注意這是危險動作,請了解您知道您要做什麼。
git init
git add .
git commit -m 'Initial commit'
git remote add origin [repo_address]
git push --mirror --force
No Comment
Post your comment